<?php
include("include/config.inc.php");
if(!isset($_SESSION['s_activIdsAdmin']))
{
	header("Location:checkLogin.php");
}
else
{
	$query1 = "DELETE FROM user
	            WHERE userId = ".$_GET['userId'];
	$result1= mysql_query($query1);
	if(!$result1)
	  echo "DELETING FAILED";
	else
	 header("Location:createUser.php");
}
?>	 